from sqlalchemy import *
from schema.Base import Base, gen_id


class Mark(Base):
    # 表的名字:
    __tablename__ = 'mark_test'

    # 表的结构:
    id = Column(String(36), primary_key=True, default=gen_id)
    company_id = Column(String(36), default="")
    amount = Column(Integer, default=0)
    name = Column(String(50), default="")
    start_time = Column(DateTime)
    rate = Column(Float)
    ways = Column(String(36))
    cycle = Column(String(36))
    status = Column(Integer)
